package com.interceptor;

public class Client {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		TargetInterface target = new Target();
		
		MyProxy myProxy = new MyProxy();
		
		TargetInterface proxy = (TargetInterface) myProxy.getMyProxy(target);
		
		proxy.doSomething();
	}

}
